/**
 * <p>Copyright:Copyright(c) 2019</p>
 * <p>Company:Professional</p>
 * <p>Package:com.cesgroup.zw.spring.boot.echarts.annular</p>
 * <p>File:SimpleAnnularSeries.java</p>
 * <p>类更新历史信息</p>
 * @todo chanlong(陈龙) 创建于 Jun 6, 2019 1:23:22 PM
 */
package com.cesgroup.zw.spring.boot.library.echarts.annular.simple;

import com.cesgroup.zw.spring.boot.echarts.component.series.Pie;
import com.cesgroup.zw.spring.boot.echarts.model.series.LabelLine;
import com.cesgroup.zw.spring.boot.echarts.model.style.LabelStyle;

/**
 * <p>描述: </p>
 * <p>Company: Professional</p>
 * @author chanlong(陈龙)
 * @date Jun 6, 2019 1:23:22 PM
 * @version 1.0.2019
 */
@SuppressWarnings("serial")
public class SimpleAnnularSeries extends Pie {

	public SimpleAnnularSeries(SimpleAnnularParam param) {
		this.setRadius(new String[] {"35%","60%"});
		this.setLabel(new LabelStyle() {{
			this.setShow(true);
			this.setFontSize(16);
		}});
		this.setLabelLine(new LabelLine() {{
			this.setShow(true);
			this.setLength(30);
			this.setLength2(35);
		}});
		this.setName(param.getTitle());
	}
}
